package com.fotkidemo.beans;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: roma
 * Date: 6/18/12
 * Time: 4:08 AM
 * To change this template use File | Settings | File Templates.
 */
public abstract class EntryElement {
    private String id;
    private String author;
    private String title;
    private Date updated;

    protected EntryElement(String id, String author, String title, Date updated) {
        this.id = id;
        this.author = author;
        this.title = title;
        this.updated = updated;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    @Override
    public String toString() {
        return title;
    }
}

